//
// Created by two8g on 17-11-27.
//
#include "Employee.h"

using namespace std;

class PyamnetClassification;

Employee::Employee(int id, string name, string address) : itsId(id), itsName(name), itsAddress(address) {
    itsAf = new NoAffiliation();
}

void Employee::SetClassification(PaymentClassification *pClassifation) {
    itsPc = pClassifation;
}

void Employee::SetSchedule(PaymentSchedule *pSchedule) {
    itsPs = pSchedule;
}

void Employee::SetMethod(PaymentMethod *pm) {
    itsPm = pm;
}

void Employee::SetAffiliation(Affiliation* af)
{
    itsAf = af;
}

PaymentClassification *Employee::GetClassification() {
    return itsPc;
}

PaymentSchedule *Employee::GetSchedule() {
    return itsPs;
}

PaymentMethod *Employee::GetMethod() {
    return itsPm;
}

Affiliation* Employee::GetAffiliation()
{
    return itsAf;
}

string Employee::GetName() {
    return itsName;
}

void Employee::SetName(std::string name)
{
    itsName = name;
}

string Employee::GetAddress() {
    return itsAddress;
}

int Employee::GetId() {
    return itsId;
}
